#include <vector>
#include <string>
#include <algorithm> // for find

#include "DataRow.h"

/**
 *
 **/
String DataRow::getFieldValue(int index) {
    return this->fieldvalue.at(index);
}

/**
 *
 **/
String DataRow::getFieldName(int index) {
    return this->fieldname.at(index);
}

/**
 *
 **/
void DataRow::put(String name, String value)
{
    this->fieldname.push_back(name);
    this->fieldvalue.push_back(value);
}

/**
 *
 **/
unsigned int DataRow::size()
{
    return fieldvalue.size();
}
